package com.study.common.exception;

import lombok.Getter;

/**
 * @author Administrator
 * @description TODO
 * @date 2023/11/19 11:41
 * 全局异常code编码信息错误提示
 */


public enum BizCodeEnum {
    UNKNOW_EXCEPTION(10000,"系统未知异常,请联系管理员！"),
    VAILD_EXCEPTION(10001,"参数格式校验失败");

    @Getter
    private Integer code;
    @Getter
    private String msg;

    BizCodeEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }

}
